﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MyTicket_w.aspx.cs" Inherits="Joyintech.Web.inpiao365.UserCenter.MyTicket_w" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>我的帐户--影票365 </title>
    <link rel="stylesheet" type="text/css" href="usercss/users.css" />
    <link rel="stylesheet" type="text/css" href="usercss/log.css" />
    <link rel="stylesheet" type="text/css" href="/wangp/Skin/wangpiao/info/css/common.css" />
    <script src="/js/jquery.js" type="text/javascript"></script>
    <script type="text/javascript">


        function divshow() {
            var usersimple = document.getElementById("usersimple");

            if (usersimple.style.display != "none") {
                
                usersimple.style.display = "none";
                $("#pl").show();
                $("#paysimple").show();
            }
            else {
                usersimple.style.display = "block";
                $("#pl").hide();
                $("#paysimple").hide();
            }
        }

    </script>
    <script src="/js/headyin.js" type="text/javascript" charset="utf-8"></script>
    <script src="/js/headliu.js" type="text/javascript" charset="utf-8"></script>
    <link rel="stylesheet" type="text/css" href="/css/xzbase.css" />
    <div id="topmenu" class="newtopmenu">
        <div id="site-nav">
        </div>
    </div>
    <script type="text/javascript">
        $(document).ready(function () {

            $("#citysel").load("/city.html");
            $("#site-nav").html('<img src="/Buyticket/images/loading1.gif" style="width: 16px; height: 16px" /> 数据正在加载......').load("/UserCenter/Cms_IsLogin.aspx");

        });
 
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="newmain">
    <div class="newhead">
    	<div class="newheadmenu">
            <h1><a href="http://www.inpiao365.com/" class="logoimg" title="影票365您的观影专家">影票365您的观影专家</a></h1>
            <!--城市start-->
            <div id="cityall" class="cityall fl">
                <h2 id="h2city">合肥</h2>
                <div id="morecity" class="morecity">
                    <span>[切换城市]</span>
                    <div id="citysel" class="citysel none">
                       </div>
                </div>
          </div>
          <!--城市end-->
          <div class="headr fr">
                    <!--<img src="images/topbanner.gif" alt="" />-->
                    <h4>
                        快速购票</h4>
                    <div class="headrA" id="selmovielch">
                        1.请选择影片<br />
                        <span class="sel_quickA" id="kchfilmname">请选择<b></b></span>
                        <div class="topsel-movieB" id="moviesearchnew">
                            <div id="kfilm">
                            </div>
                        </div>
                    </div>
                    <div class="headrB" id="selcinemalch">
                        2.请选择影院<br />
                        <span class="sel_quickB" id="kchcinemaname">请选择<b></b></span>
                        <div class="topsel-movieB" id="cinemasearchnew">
                            <ul id="kcinema">
                            </ul>
                        </div>
                    </div>
                    <div class="headrC" id="seltimelch">
                        3.请选择场次<br />
                        <span class="sel_quickC" id="kchshowname">请选择<b></b></span>
                        <div class="topsel-movieC" id="ktimesearchnew">
                            <ul id="kshow">
                                <label id="noteid">
                                    请先选择影院和影片</label>
                            </ul>
                        </div>
                    </div>
                </div>
        </div>
         #parse("../include/menu.html") 
    </div>
</div>

    <div class="main">
        <div class="inmain">
            <p class="brank">
                您当前的位置：<a href="/UserCenter/Mywangpiao.aspx">我的影票365</a>&nbsp;&gt;&nbsp;我的账户</p>
            <!--主题内容begin-->
            <div class="mybox">
                <!--左边begin-->
                <div class="myleft left">
                    <div id="MyTicketLeft_wang1_pnlmycenter">
                        <div class="mycenter">
                            <h2>
                                我的影票365</h2>
                            <ul class="mycenter-nav myorder">
                                <li><a href="/UserCenter/MyTicket_w.aspx" class="
                    ct01  navon">我的帐户</a> </li>
                                <li><a href="/UserCenter/MyTicket_order.aspx" class="
                    ct02">我的订单</a> </li>
                                <li><a href="/UserCenter/MyUser_Saveinfo.aspx" class="
                    ct12">安全设置</a> </li>
                                <li><a href="/UserCenter/MyHappy_PersonInfo.aspx" class="
                    ct13">个人资料</a> </li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="right buyvip">
                    <div class="inuser">
                        <div class="userpic left">
                            <a href="/UserCenter/MyHapp_PersonPhoto.aspx">
                                <img id="UserBaseInfo1_UserPhoto" src="/pic_upload/userphoto/nophoto.jpg" style="height: 90px;
                                    width: 90px; border-width: 0px;" /></a>&nbsp;</div>
                        <div class="userinfo left ml10" style="position: relative;">
                            
                            <p>
                                <b class="username"><a id="UserBaseInfo1_User_Nickname" href="/UserCenter/MyHappy_PersonInfo.aspx">
                                    <%=UserNickname %></a></b>
                            <p>
                                <span id="UserBaseInfo1_userSingernature"></span>
                            </p>
                            <p class="user-other">
                                <span id="UserBaseInfo1_divmoney" class="money">帐户余额：<b class="colorf30"><%=CustomerAccount%>元</b></span>
                                <span class="chongzhi underline"><a id="UserBaseInfo1_HyperLink1" onclick="divshow()">
                                    <img src="/UserCenter/images/chongzhi.jpg" style="border-width: 0px;" /></a></span>
                            </p>
                            <br />
                           
                            </p>
                            <p class="lasttime">
                                上次登录：<span id="UserBaseInfo1_userloginlasttime"><%=CustomerLastLoginTime%></span></p>
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                    <div id="usersimple">
                        <div class="userallbar mt10">
                            <ul>
                                <li class="onorder" id="tabadmenu1_10" onclick="setTimeout('Show_TabADSMenu1(1,0)',200);">
                                    <a><span>消费记录</span></a></li>
                                <li id="tabadmenu1_11" onclick="setTimeout('Show_TabADSMenu1(1,1)',200);"><a><span>购买充值记录</span></a></li>
                            </ul>
                            <div class="clear">
                            </div>
                        </div>
                        <div class="user-main" id="tabadcontent1_10">
                            <div>
                                <asp:Repeater ID="orderAll" runat="server" ViewStateMode="Disabled">
                                    <HeaderTemplate>
                                        <table class="historytable" cellspacing="1" cellpadding="0" border="0" id="GridView1"
                                            style="width: 100%;">
                                            <tr>
                                                <th class="historytable th" scope="col">
                                                    订单号
                                                </th>
                                                <th scope="col">
                                                    操作记录
                                                </th>
                                                <th scope="col">
                                                    操作时间
                                                </th>
                                                <th scope="col">
                                                    金额
                                                </th>
                                                <th scope="col">
                                                    购票单号
                                                </th>
                                            </tr>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <tr>
                                            <td class="fontArial" style="width: 60px;">
                                                <%#Eval("OrderId")%>
                                            </td>
                                            <td>
                                                购票
                                            </td>
                                            <td class="fontArial" style="width: 140px;">
                                                <%#Eval("PayTime")%>
                                            </td>
                                            <td class="fontArial">
                                                <span id="GridView1_ctl02_Label1">
                                                    <%#Eval("TotalMoney")%></span>元
                                            </td>
                                            <td style="width: 64px;">
                                                &nbsp;
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                    <FooterTemplate>
                                        </table>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </div>
                        </div>
                        <div class="user-main none" id="tabadcontent1_11">
                            <div>
                                <asp:Repeater ID="accountAll" runat="server" ViewStateMode="Disabled">
                                    <HeaderTemplate>
                                        <table class="historytable" cellspacing="1" cellpadding="0" border="0" id="GridView2"
                                            style="width: 100%;">
                                            <tr>
                                                <th class="historytable th" scope="col">
                                                    订单号
                                                </th>
                                                <th scope="col">
                                                    购买时间
                                                </th>
                                                <th scope="col">
                                                    订单金额
                                                </th>
                                                <th scope="col">
                                                    支付方式
                                                </th>
                                            </tr>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <tr>
                                            <td class="fontArial" style="width: 60px;">
                                                <%#Eval("AccountLogId")%>
                                            </td>
                                            <td class="fontArial" style="width: 120px;">
                                                <%#Eval("AccountTime")%>
                                            </td>
                                            <td class="fontArial" style="width: 80px;">
                                                <span id="GridView2_ctl02_Label1">
                                                    <%#Eval("AccountFee")%></span>元
                                            </td>
                                            <td style="width: 110px;">
                                                支付宝银行直连
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                    <FooterTemplate>
                                        </table>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </div>
                        </div>
                    </div>

<div id="pl" style="display:none">

                    <script language="javascript" type="text/javascript">

                    function Changelable(num, value) {
                        if (value != isNaN) {
                                $("#pay" + num).html(value);
                                var o = parseInt(0) + parseInt(value);
                                $("#payover" + num).html(o);
                        }
                   
                        if (value == "") {
                                o = parseInt(0);
                                $("#payover" + num).html(o);
                        }
                    }

                    function MoneyOnKeyup() {
                        if ($("#txt1").val() != "")
                            Changelable(1, $("#txt1").val());
                        else
                            Changelable(1, 0);
                    }

                    function MoneyOnBlur () {
                        var input = $(this);

                        var v = input.val();
                        if (v != "") {
                            var reg = new RegExp("^[0-9]*[1-9][0-9]*$");
                            if (!reg.test(v)) {
                                alert("请填入整数");
                                input.val("");
                                Changelable(1, 0);
                                return false;
                            }

                            $("#txt1").attr("value", (($("#txt1").val() * 100) / 100));
                            Changelable(1, $("#txt1").val());
                        }
                        else if (v == "0") {
                            input.val("");
                            Changelable(1, 0);
                        }
                    }
                    </script>

                    <div id="paysimple" class="paybankbox">

    <div class="payway mt10">
        <ul>
            <li id="tabadmenu_10" class="onli">
                <a href="javascript:;"><span>支付宝或网上银行</span></a></li> 
        </ul>
    </div>
    <div class="paybank">
        <!--网银-->
        <div id="tabadcontent_10">
            <div class="paybankinbox">
                <p class="moneybox">
                    请输入充值金额:<input type="text" class="u_text" id="txt1" onkeyup="MoneyOnKeyup()" onblur="MoneyOnBlur()" runat="server" />元
                    <asp:ImageButton ID="btnPay" ImageUrl="images/nextbtn.jpg" style="border-width:0px;" OnClick="btnPay_Click" runat="server" /></p>
                <div class="xuline"></div>
                <div class="myzhanghu">
                <table cellpadding="0" cellspacing="0">
                    <tr>
                        <th>
                            当前余额</th>
                        <th>
                            充值金额</th>
                        <th>
                            活动奖励</th>
                        <th>
                            充值后余额</th>
                    </tr>
                    <tr>
                        <td>
                            <span class="colorf30">
                                <label id="ye1">
                                    0
                                </label>
                            </span>
                        </td>
                        <td>
                            <label id="pay1">0
                            </label>
                        </td>
                        <td>
                            <label id="huod1">
                                0</label></td>
                        <td>
                            <span class="colorf30">
                                <label id="payover1">
                                </label>
                            </span>
                        </td>
                    </tr>
                </table>
            </div>
                <div class="clear"></div>
            </div>
        </div>
    </div>
</div>
</div>

                </div>
                <div class="clear">
                </div>
            </div>
        </div>
    </div>
    <script language="javascript" type="text/javascript">
        function Show_TabADSMenu1(tabadid_num, tabadnum) {
            for (var i = 0; i < 2; i++) { document.getElementById("tabadcontent1_" + tabadid_num + i).style.display = "none"; }
            for (var i = 0; i < 2; i++) { document.getElementById("tabadmenu1_" + tabadid_num + i).className = ""; }
            document.getElementById("tabadmenu1_" + tabadid_num + tabadnum).className = "onorder";
            document.getElementById("tabadcontent1_" + tabadid_num + tabadnum).style.display = "block";
        }

        function Show_TabADSMenu(tabadid_num, tabadnum) {
            for (var i = 0; i < 3; i++) { document.getElementById("tabadcontent_" + tabadid_num + i).style.display = "none"; }
            for (var i = 0; i < 3; i++) { document.getElementById("tabadmenu_" + tabadid_num + i).className = ""; }
            document.getElementById("tabadmenu_" + tabadid_num + tabadnum).className = "onli";
            document.getElementById("tabadcontent_" + tabadid_num + tabadnum).style.display = "block";
        }
    </script>
    </form>
    
#parse("../include/Footer.html")
